package com.varian.redis.operation;

import lombok.Getter;

/**
 * @author ben
 * @since 2024/9/29
 */
@Getter
public class VarianCacheEvictOperation extends AbstractVarianOperation {

    private final boolean allEntries;

    private final boolean beforeInvocation;

    public VarianCacheEvictOperation(String cacheName, String key, String condition, boolean allEntries, boolean beforeInvocation) {
        super(cacheName, key, condition);
        this.allEntries = allEntries;
        this.beforeInvocation = beforeInvocation;
    }
}
